package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 客户老人与家属关联表
 */
@Data
@TableName("family_member_elder")
@ApiModel(description = "客户老人与家属关联表")
public class FamilyMemberElder extends BaseEntity {

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("老人ID")
    @TableField("elder_id")
    private Long elderId;

    @ApiModelProperty("家属ID")
    @TableField("family_member_id")
    private Long familyMemberId;


}